@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>资金预算管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#SelectCon id="platform" name="平台名称" >
                                    ${deptutil.getPlatformById()}
                                </#SelectCon>
                            </div>
                             <div class="col-sm-3">
                                 <#TimeCon id="revDate" name="預算日期" isTime="false" pattern="month"  value="${tool.currentMonth()}"/>
                             </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="CapitalBudget.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="CapitalBudgetTableToolbar" role="group">
                            @if(shiro.hasPermission("/capitalBudget/add")){
                                <#button name="添加" icon="fa-plus" clickFun="CapitalBudget.openAddCapitalBudget()"/>
                            @}
                            @if(shiro.hasPermission("/capitalBudget/update")){
                                <#button name="修改" icon="fa-edit" clickFun="CapitalBudget.openCapitalBudgetDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/capitalBudget/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="CapitalBudget.delete()" space="true"/>
                            @}
                            <#button name="导出" icon="fa-plus" clickFun="CapitalBudget.exportCapitalBudget()" space="true"/>

                            <#button name="上传" icon="fa-plus" clickFun="CapitalBudget.upLoadFile()" space="true"/>
                            <#button name="导出模板" icon="fa-plus" clickFun="CapitalBudget.exportModel()" space="true"/>
                        </div>
                        <#table id="CapitalBudgetTable"/>
                    </div>
                    <div >
                        <table id="loginLog-table">


                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/capitalBudget/capitalBudget/capitalBudget.js"></script>

<script >
$(function(){
		laydate.render({
		  elem: '#revDate',
		  type: 'month'
		});
})

</script>
@}
